package com.example.user.service;

import com.example.commons.vo.UserVo;
import com.example.user.entity.po.UserDo;
import org.springframework.scheduling.annotation.Async;

import java.util.concurrent.ExecutionException;

public interface UsersService {
    /**
     * 注册
     *
     * @param username 用户账号
     * @param password 用户密码，md5加密
     */
    void register(String username, String password);

    UserDo query(UserVo userVo);


    public void test1() throws ExecutionException, InterruptedException;

    public void test2() throws ExecutionException, InterruptedException;


}
